package main

func main()  {
	test()
}

func test()  {
	type calc struct {
		mul func(x,y int) int
	}

	b := calc{
		mul: func(x, y int) int {
			return x * y
		},
	}

	println(b.mul(2,3))
}
